package org.jeecg.modules.module.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

@Data
@TableName("t_stock")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "股票主体信息", description = "t_stock")
public class Stock implements Serializable {

    private static final long serialVersionUID = 1L;

    /**股票的六位交易代码*/
    @TableId(type = IdType.INPUT)
    @ApiModelProperty("股票的六位交易代码")
    private String dm;
    /**股票名称*/
    @ApiModelProperty("股票名称")
    private String mc;
    /**交易所，"sh"表示上证，"sz"表示深证*/
    @ApiModelProperty("交易所")
    private String jys;
}
